//
//  OverlayPresentViewController.m
//  UIViewControllerTransitionDemo
//
//  Created by Guo Rui on 2017/7/6.
//  Copyright © 2017年 GR Harry. All rights reserved.
//

#import "OverlayPresentViewController.h"
#import "OverlayInputViewController.h"

@interface OverlayPresentViewController ()<UIViewControllerTransitioningDelegate>

@end

@implementation OverlayPresentViewController

- (IBAction)present:(id)sender {
    OverlayInputViewController *vc = [[OverlayInputViewController alloc] init];
    vc.modalPresentationStyle = UIModalPresentationCustom;
    [self presentViewController:vc animated:YES completion:nil];
}

- (void)dealloc {
    
    NSLog(@"\n************\n %@ dealloc \n************", self.class);
}
@end
